using System;

namespace homeworkhero
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
#if DEBUG
            using (Game1 game = new Game1())
            {
                game.Run();
            }
#else
            try {
                using (Game1 game = new Game1())
                {
                    game.Run();
                }
            } catch(Exception e) {
                System.Windows.Forms.MessageBox.Show(e.ToString());
                throw e;
            }
#endif
        }
    }
}
